package com.ruoyi.bantong.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 机构等级对象 bt_organization_level
 * 
 * @author laohei
 * @date 2021-01-24
 */
public class BtOrganizationLevel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Integer levelId;

    /** 等级名称 */
    @Excel(name = "等级名称")
    private String levelName;

    /** 等级 */
    @Excel(name = "等级")
    private Integer level;

    /** 是否可以推荐 */
    @Excel(name = "是否可以推荐")
    private Integer ifRecommend;

    public void setLevelId(Integer levelId) 
    {
        this.levelId = levelId;
    }

    public Integer getLevelId() 
    {
        return levelId;
    }
    public void setLevelName(String levelName) 
    {
        this.levelName = levelName;
    }

    public String getLevelName() 
    {
        return levelName;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public void setIfRecommend(Integer ifRecommend)
    {
        this.ifRecommend = ifRecommend;
    }

    public Integer getIfRecommend() 
    {
        return ifRecommend;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("levelId", getLevelId())
            .append("levelName", getLevelName())
            .append("level", getLevel())
            .append("ifRecommend", getIfRecommend())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
